﻿using System;
using __ts.Core.Api;

/*
 *  author: able
 *  @2012/2/20 18:17:00
 * 
 */
namespace __ts.Core.Session
{
    /// <summary>
    /// 
    /// </summary>
    public interface WriteRequest
    {
        /**
         * Get the message stored for this request.
         * 
         * @return the contained message
         */
        Object getMessage();

        /**
         * The future to be completed on a write success
         * @return the future
         */
        IoFuture<object> getFuture();
    }
}